package com.jiulong.dao;

import com.jiulong.model.TKeyvalue;
import com.jiulong.model.TKeyvalueExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TKeyvalueMapper {
    long countByExample(TKeyvalueExample example);

    int deleteByExample(TKeyvalueExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TKeyvalue record);

    int insertSelective(TKeyvalue record);

    List<TKeyvalue> selectByExample(TKeyvalueExample example);

    TKeyvalue selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TKeyvalue record, @Param("example") TKeyvalueExample example);

    int updateByExample(@Param("record") TKeyvalue record, @Param("example") TKeyvalueExample example);

    int updateByPrimaryKeySelective(TKeyvalue record);

    int updateByPrimaryKey(TKeyvalue record);
}